<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<html>
<body>
<div id="navigation" class="navigation">
    <ul class='menu'>
        <li><a href=''>首页</a></li>
        <li><a href=''>网站推荐</a>
            <ul class='sub-menu'>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=1'>综合日用</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=2'>服装配饰</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=3'>母婴药房</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=1'>儿妆护肤</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=2'>天然有机</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=3'>儿童家具</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=1'>二手e淘</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=2'>名品汇聚</a></li>
            </ul>
        </li>
        <li><a href='#'>e站转运</a>
            <ul class='sub-menu'>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=1'>关于我</a></li>
                <li><a href='menuList.aspx?menurank=3&&secondmenurank=2'>转运需知</a></li>
            </ul>
        </li>
        <li><a href=''>e淘攻略</a></li>
        <li><a href='#'>e团精选</a>
            <ul class='sub-menu'>
                <li><a href='menuList.aspx?menurank=5&&secondmenurank=1'>常态精选</a></li>
                <li><a href='menuList.aspx?menurank=5&&secondmenurank=2'>限时特惠</a></li>
            </ul>
        </li>
        <li><a href=''>合作商家</a></li>
        <li><a href=''>时尚资讯</a></li>
        <li><a href=''>e站blog</a></li>
        <li><a href=''>我的购物车</a></li>
    </ul>
</div>
</body>

<script type="text/javascript">
    window.onload = function () {

        document.querySelectorAll(".menu li").onmourseover = function () {

            this.querySelector("ul").style.display = "block";
        }
        document.querySelectorAll(".menu li").onmourseout = function () {

            this.querySelector("ul").style.display = "none";
        }
    }
</script>

</html>
